package com.markhsiu.httpserver.event.formparse;

/**
 * 文件表单对象
 * @author Mark Hsiu
 *
 */
public class FileFormItem {

	private String name;//文件名称或是表单域name
	private String feildName;//表单域name
	private boolean isFileField;//是否文件
	private byte[] body;//字节流
	private long length;//内容长度
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public byte[] getBody() {
		return body;
	}
	public void setBody(byte[] body) {
		this.body = body;
	}
	public long getLength() {
		return length;
	}
	public void setLength(long length) {
		this.length = length;
	}
	public boolean isFileField() {
		return isFileField;
	}
	public void setFileField(boolean isFileField) {
		this.isFileField = isFileField;
	}
	public String getFeildName() {
		return feildName;
	}
	public void setFeildName(String feildName) {
		this.feildName = feildName;
	}
	 
	
}
